package com.yngrp.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  @Description: 班组责任人维护
 *  @author  SLH
 *  @date  20160930
 */
@Entity
@Table(name = "yl_wo_responsibler")
public class Responsibler implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 主键 **/
	private Integer id;
	
	/** 班组编码 **/
	private String deptId;
	
	/** 班组名称 **/
	private String deptName;
	
	/** 责任人名称 **/
	private String responerName;
	

	@Id
	@GeneratedValue (strategy = GenerationType.IDENTITY) 
	@Column(name ="ID",nullable=false,length=10)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name ="dept_id")
	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	@Column(name ="dept_name")
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@Column(name ="responer_name")
	public String getResponerName() {
		return responerName;
	}

	public void setResponerName(String responerName) {
		this.responerName = responerName;
	}
}
